SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba7c577023ef7122d1d770ed5ebd5b88bc29b7e954f64c7fc581c082ca75a312' 
  AND token = 'sSQfLJjGCxK2LGRuXgoXnPffuU9p+thIIaIIipPlyi8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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