SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a07546cf411349cfd8200d5b3a8f43ea4d88bd3c0397c155567516ea5b18462' 
  AND token = '8Ki0Mw3giU3TGmH/18hXaRXB2tgtb23bCmYtcFLbFxk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}