SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd77d358496e340593435881971539ed5d5e408d477538664be4a8ab95db2dca7' 
  AND token = 'X4rVZHe9KQjfMf3cutsBTsue30qrtuWzlqdOQLYGaK8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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