SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '246e23c20545c3c51ab3c1007e45f5337aba192d856e4b4d0e4b2965dc805272' 
  AND token = 'hFfHvi2ZUQWSkesegie5eQOSVGy1dUW9JhLYYpPQLfc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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