SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52996277c1556630656ca7650285991198bc03e2785a33c328c995c1c5b646df' 
  AND token = 'layPVOLJ4+CmD2V/ciTtCCNjyPeCmnWHGTYUCk62Mso=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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