SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf31a8054dd9672af7c3b16a2bf3dbc0cf116b9d3f2f61a6aa3ee1965d806249' 
  AND token = 'iTAH8+yOXP4P1gIm/OiiX1PKd9TpOAOdPqPgpdexvNM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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