SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e547b7a8ba17cb1da53dde21bea8c09b1ef90e3e73a31d0ce32b96c786a1112' 
  AND token = 'x0GFbxzVwLlOwn6HRgbb7pQFT/t8J31HV08ob7VXmbI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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