SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c5cef46cc652354b285c8fb969b143c95e23f81044d1b804c6bff97bbe3b1b7' 
  AND token = 'KoEN1AQyDN05FcO3b+56BVGj5xIdfW0OGyXGcxGgdLQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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