SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c17df4bd57ba45d7de2c311f57155bb2b69efaa4610a1833648e78d7443134f' 
  AND token = 'MejraFhVTjXjFWUnC4Ohc56oOpl1rGeVjfWzzG0LrLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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