SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '857211c797ea48975baab7284a49f7d2c84b270538fbd011759386cf959f1746' 
  AND token = 'eIrNiORhlpiocbGGC+fwtcUj6KnCBZ7MkHupf1+1VCc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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