SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6f31a525b78199f26e4a3a27511cd66706b8ca6b814ed6c80a083a10dd8943d' 
  AND token = 'ahtK3Hy1261puGhJ48atISLi5rFr+9D2RImh40h4qxU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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