SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a70fa514cfc57818411d34a1d0566b5fcdee5f0a923aa1018db1da60f414c0c' 
  AND token = 'pAKFWuUxfeTUi80BWfT7SCt7JJzYkhjPPFinVOUTpgM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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