SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6efc8d371e80ab52bad6368ac4a48c0168e99ae1405901479c997be476027023' 
  AND token = 'yJWeCjlmRGzsUiAEWg7jskqD5bJBCtW04aNgdtL7l00=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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