SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6618bf0b7f0ca79d07402eebff60d15c81dd6ccb21ee052e209a30f30f366b9' 
  AND token = 'P+4MFjYPZ21HFfatz34wP9Ts4VoB52FRpEAw6vmqCB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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