SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8250317d32b796fc3bb691a0b265c8fda7c637f459ff63d60d769b44734d59d0' 
  AND token = 'rE/n7BCWa1FEoNtRtz9uam4gLGMs5SAFosWddko4X2s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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