SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f508a6bcb3413893a97507417e168a8b24542b1903f7fdcc935644ec994292c' 
  AND token = '0rXABggUW/w6IL/aayJf78wYpIH0nPpOiLXuFeuNrUY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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