SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d61cac5cbb2026777ce59b708d67f096013fcfba5f212c80290ae92c0989159' 
  AND token = 'abnsWqT+f9voRhw/qbL0pe+qbqdzrEqKaAiIZCWAGrE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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