SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f4f31217cdc3eb437d2062113a9edb769c2899fed7786dbb53b54174286effe' 
  AND token = 'qrOrWME5Orl4ekFHfzn04nq+P/UOzMFJJAt7PqKYMiA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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