SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c69b1881a7244d4b52205b7347aabbe43a1aec1551ebd239802f6d7b8fe0375' 
  AND token = '7TZrEpkcf55Lg/6ltUjIaPYsWZ8gJPAoIP72pTEOepo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}