SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a642bb492075ad34067d5295fa6c84d8845c35c4591df9ef829d6ced753e67d' 
  AND token = 's5Dalxo31/Snsq3mVdWAf4h2VNMT4hPdj65pNLMc24o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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