SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6778b0046bd04f0798bcc08ad86a1afefd55bd71c40c095bdb7b547c6518864a' 
  AND token = 'Ivmq0YDb4KiTD1wGvdm8O6F7aJH1wtQ8zVG30jYhTms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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