SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '025164cb8be48bb0962beeb6530bae0676967663b1dc254087aba808c9988c9c' 
  AND token = 'Jpe5hPONEFtO6hwvnJdH40Mfm3jyB/GfjpF7O9yaAtc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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