SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4145dfa09dcd284b78861f96359d2075cc48975a02a663a6932065c9048e16e0' 
  AND token = '+fyQhCHvB5bMLdidpeMCiUMcyBBslCYPFZ01wtZE4Qw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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