SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4815eecac0d40ddcaa335950c8ddb170b00cd626a5321d458075718a79ff6be' 
  AND token = 'sGgkaqrTUUGWApSKbGORPwKgCe+ibhKj7emHQNVbcv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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