SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '040a9d4ef3e8666b8a60eb19631d95947351d4e02760ecb928f754851f7b7a6d' 
  AND token = '5+nPiqzPTjEk/RgWI+eSFx2cEd3XiOt0GS8OYd2DEog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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