SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ffe8e49c06454a3312017b4a958bae86c9353e308f09034c5eab917f0f460ee' 
  AND token = 'GCTcYcLH33X/+FCsJCf3j5zRpdUjt5vrjjORkWV6xLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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