SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb495407beeb194952e49ca58982336db3b035df9dacfefce801cac052fb0127' 
  AND token = 'f37aKockdkD5MmEYuIAM8E4EJkYGIT38yX2tyVde/v0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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