SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5051fb372b8972497140638364640f778f4c571a73bef7ef24b5d6e3331d8fa4' 
  AND token = '1wvklbtjXsYRx8X3VyW4GQLcQ3h1buWH7euLviNoeR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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