SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b28e975117427bdb483bfefc356f62553b8783e4518734f26d62bbe5e79e722e' 
  AND token = 'FOwCAZiEyyBGUCoSMI6Y2rxdcYU/XQdoWQQ+7iryHv0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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