SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4294ed4ba1cae30d8c63da1176596ec0199e2ca59645189c25ddb8391d78ca4f' 
  AND token = 'HM0m7V1yt4Wv57oOnITgbOrXeE7po/pYT2vL5e5gc+g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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