SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90ac8a5fddc54f006e71ef3558af003b78d60c7737ad7123c614f314368aaf6d' 
  AND token = 'XEkw92X3B6grF5SXekLVdFxWL247Lf4MPmxWlruerb0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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