SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '574b5890890dfae4cf4f1e8884b67b43a47856d40d848f0bb21d5c2d1b074597' 
  AND token = 'n7IY1MxPcQxDQIVnKUoNuCcCY5yL2sPvnJ8cUYJnD4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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