SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45f737c657d7ae1c7f59b647514681d7ec47bba5e8144371ccede0a18d4368cf' 
  AND token = '2Ol61SvlGR7gZh+DxXZyXvSZhYo/wIDo1LVIBChGpNs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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