SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e717f9f7b314d710016dca1dcd480834e6c1f0b7e05ea60da48763a0756def0d' 
  AND token = 'Opn7t5g6YuLWhWZIHU9pYQRCpSiOtL5QRafFnoaTChE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00070

JSON explain

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